package robosym.visual;

/**
 * Data transfer object for barriers, that 
 * analyzer gets from the location.
 * 
 * 
 * Now barriers presents as circles with
 * rectangled coordinates and diameter 
 * 
 * @author TR
 */
public class Barrier {
    
    protected float x;
    protected float y;    
    protected float diameter;

    public Barrier(float x, float y, float diameter) {
        this.x = x;
        this.y = y;
        this.diameter = diameter;
    }

    public float getDiameter() {
        return diameter;
    }

    public void setDiameter(float diameter) {
        this.diameter = diameter;
    }

    public float getX() {
        return x;
    }

    public void setX(float x) {
        this.x = x;
    }

    public float getY() {
        return y;
    }

    public void setY(float y) {
        this.y = y;
    }
    
}
